$OpenBSD: patch-validate_php,v 1.10 2017/05/30 21:05:44 sthen Exp $

Index: validate.php
--- validate.php.orig
+++ validate.php
@@ -45,7 +45,7 @@ if (!file_exists('config.php')) {
 }
 
 $config_failed = false;
-$syntax_check = `php -ln config.php`;
+$syntax_check = `%PHP% -ln config.php`;
 if (!str_contains($syntax_check, 'No syntax errors detected')) {
     print_fail('Syntax error in config.php');
     echo $syntax_check;
